/*
*	Copyright (C) 2014  Julio Montes, Mario Carrillo
*
*	Julio Montes e-mail: imc.coder@gmail.com
*
*	Mario Carrillo e-mail: mario_90ago@live.com.mx
*
*	BSD 3-Clause License
*/

#include "include/iaManager.h"

#include "include/iaDialogManager.h"
#include "sdk/include/editormgr.h"

iaManager iaManager::manager;


iaManager *iaManager::Get()
{
    return &manager;
}




iaManager::~iaManager()
{
    delete dialogManager;
}




void iaManager::CreateProjectNotebook( wxWindow *parent )
{
    projectNotebook = new wxAuiNotebook( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS );
}

wxAuiNotebook *iaManager::GetProjectNotebook() const
{
    return projectNotebook;
}


void iaManager::CreateLogNotebook( wxWindow *parent )
{
    logNotebook = new wxAuiNotebook( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxAUI_NB_TOP | wxAUI_NB_TAB_SPLIT | wxAUI_NB_TAB_MOVE | wxAUI_NB_SCROLL_BUTTONS );
}

wxAuiNotebook *iaManager::GetLogNotebook() const
{
    return logNotebook;
}



void iaManager::CreateDialogManager( wxWindow *parent )
{
    dialogManager = new iaDialogManager( parent );
}

iaDialogManager *iaManager::GetDialogManager() const
{
    return dialogManager;
}

